package com.aaa.mrcai.controller;

import com.aaa.mrcai.result.AjaxResult;
import com.aaa.mrcai.service.GoodsPermService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author:Li-Yan-Chun
 * @Date:2021/12/5 18:22
 */
@RestController
@RequestMapping("goodsPerm")
public class GoodsPermController {
    @Autowired
    private GoodsPermService goodsPermService;

    @RequestMapping("getInfo")
    public AjaxResult getInfo(){
        return goodsPermService.getInfo();
    }
}
